package com.qcby.Entity;

import java.io.Serializable;
import java.util.Date;

public class TrainNum implements Serializable {
    private Integer id;
    private String name;
    private Integer carriageNum;
    private Date time;
    private Integer index;
    private Integer status;
    private byte[] seat;
//使用字节流去存储座位信息 感谢李承轩的提醒
    public byte[] getSeat() {
        return seat;
    }

    public void setSeat(byte[] seat) {
        this.seat = seat;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getCarriageNum() {
        return carriageNum;
    }

    public void setCarriageNum(Integer carriageNum) {
        this.carriageNum = carriageNum;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public Integer getIndex() {
        return index;
    }

    public void setIndex(Integer index) {
        this.index = index;
    }
}
